<template>
	<view>
		<view class="box">
			<view class="left">
				会员姓名：
			</view>
			<view class="right">
				{{data.userName}}
			</view>
		</view>
		<view class="box">
			<view class="left">
				手机号：
			</view>
			<view class="right">
				{{data.phone}}
			</view>
		</view>
		<view class="box">
			<view class="left">
				余额：
			</view>
			<view class="right">
				{{data.money}}元
			</view>
		</view>
		<view class="box">
			<view class="left">
				创建时间：
			</view>
			<view class="right">
				{{data.createTime}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data:{},
			}
		},
	onLoad(option) {
		this.data = JSON.parse(option.data)
		console.log('数据',this.data)
	},
		methods: {
			
		}
	}
</script>

<style>
.box{
	padding: 20rpx;
	border-bottom: 1rpx solid #ECECEC;
	display: flex;
	align-items: center;
}
.box .left{
	flex: 0 0 20%;
}
.box .right{
	flex: 0 0 80%;
}
</style>
